package com.kmb.provider.service;

import com.kmb.provider.api.SfKmResourcesService;
import com.kmb.provider.domain.SfKmResources;
import com.kmb.provider.mapper.SfKmResourcesMapper;
import org.apache.dubbo.config.annotation.Service;

import javax.annotation.Resource;
import java.util.List;

@Service(version = "1.0.0")
public class SfKmResourcesServiceImpl implements SfKmResourcesService {

    @Resource
    private SfKmResourcesMapper sfKmResourcesMapper;

    @Override
    public List<SfKmResources> selectByUserId(Integer userId) {
        return sfKmResourcesMapper.selectByUserId(userId);
    }
}

